﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileWalker
{
	/// <summary>
	/// File Walk Handler Interface.
	/// </summary>
	public interface IFWHandler
	{
		#region Methods
		
		/// <summary>
		/// Will be called when new file is found.
		/// </summary>
		/// <param name="startFolder">The start folder.</param>
		/// <param name="name">The file name</param>
		/// <returns>true, if to continue enumeration; otherwise - false</returns>
		bool FileChanged(string startFolder, string name);

		/// <summary>
		/// Will be called when new folder is found.
		/// </summary>
		/// <param name="startFolder">The start folder.</param>
		/// <param name="name">The folder name</param>
		/// <returns>true, if to continue enumeration; otherwise - false</returns>
		bool FolderChanged(string startFolder, string name);

		#endregion Methods
	}
}
